import axios from './axios'

// 封装get请求
export default (url, params, config) => {
  return axios({
    method: 'get',
    url: url,
    params: params,
    ...config
  })
}